import request from '@/utils/request'

// 查询项目转化列表
export function listProjectChange(query) {
  return request({
    url: '/pm/projectChange/list',
    method: 'get',
    params: query
  })
}

// 查询项目转化详细
export function getProjectChange(id) {
  return request({
    url: '/pm/projectChange/' + id,
    method: 'get'
  })
}

// 新增项目转化
export function addProjectChange(data) {
  return request({
    url: '/pm/projectChange',
    method: 'post',
    data: data
  })
}

// 修改项目转化
export function updateProjectChange(data) {
  return request({
    url: '/pm/projectChange',
    method: 'put',
    data: data
  })
}

// 删除项目转化
export function delProjectChange(id) {
  return request({
    url: '/pm/projectChange/' + id,
    method: 'delete'
  })
}
